package model;

import java.text.ParseException;
import java.util.Calendar;
import java.util.Date;

public class EventRepeatMonthly extends EventRepeatByDate {
	
	public EventRepeatMonthly (int days, Date until) {
		super(days,until);
	}
	public EventRepeatMonthly (String representation) throws ParseException {
		super(representation);
	}
	
	@Override
	public final char getSQLStringIdentifier() {
		return 'M';
	}
	
	@Override
	public final int getRepeatUnit() {
		return Calendar.MONTH;
	}
}
